Total Complexity | 68 |
Dependencies | 8 |
Dependents | 10 |
Total lines | 926 |
Lines of code | 492 |
Logical lines of code | 216 |
Comment lines | 321 |
Methods | 27 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
request() | 34 | 19 | 87 | |
create_order() | 40 | 6 | 65 | |
create_webhook() | 46 | 6 | 41 | |
update_webhook() | 44 | 5 | 46 | |
get_webhook() | 52 | 3 | 24 | |
capture_order() | 55 | 2 | 20 | |
get_payment_authorization() | 57 | 2 | 18 | |
list_webhooks() | 58 | 2 | 17 | |
delete_webhook() | 58 | 2 | 16 | |
get_home_page_url() | 64 | 3 | 10 | |
verify_webhook_signature() | 54 | 1 | 21 | |
get_order() | 57 | 1 | 17 | |
refund_payment() | 58 | 1 | 16 | |
get_access_token_from_authorization_code() | 58 | 1 | 16 | |
get_environment_url() | 71 | 2 | 6 | |
get_js_sdk_url() | 58 | 1 | 14 | |
get_access_token_from_client_credentials() | 60 | 1 | 14 | |
get_client_token() | 67 | 1 | 8 | |
get_access_token() | 80 | 1 | 3 | |
delete() | 78 | 1 | 3 | |
get_user_info() | 64 | 1 | 10 | |
patch() | 78 | 1 | 3 | |
post() | 78 | 1 | 3 | |
get() | 78 | 1 | 3 | |
get_debug_header() | 82 | 1 | 3 | |
set_debug_header() | 81 | 1 | 3 | |
get_api_url() | 71 | 1 | 5 |